﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IPC.ListConnect.Profinet
{
    public class Group: BaseClass
    {
        private string _name;
        private string _groupFullName = string.Empty;
        private DataType _type;

        /// <summary>
        /// 组名
        /// </summary>
        public string Name { get => _name; set => _name = value; }
        /// <summary>
        /// 组数据类型
        /// </summary>
        public DataType Type { get => _type; set => _type = value; }

        public Dictionary<string, Tag> Tags { get; set; } = new Dictionary<string, Tag>();
        /// <summary>
        /// 组全名
        /// </summary>
        public string GroupFullName { get => _groupFullName; set => _groupFullName = value; }
    }
}
